const uuid = require('uuid');

class RandomAPI {
    uniqueId() {
        return uuid.v4();
    }

    randomName(prefix) {
        let suffix = uuid.v4().slice(0, 6);
        return prefix + suffix;
    }
}

module.exports = RandomAPI